$color1: #ff8a00;
$color2: #2f3130;

body {
    background: #f5f5f5;
}

.swiper {
    width: 100vw;
    height: 2.16rem;

    .swiper-wrapper {
        .swiper-slide {
            img {
                width: 100vw;
                height: 2.16rem;
            }
        }
    }

    .swiper-pagination {
        float: right;
        width: .46rem;
        height: .2rem;
        line-height: .2rem;
        font-size: .16rem;
        background-color: rgba(0, 0, 0, 0.557);
        color: white;
        border-radius: 8px;
        margin-left: 3.1rem;
    }
}

.nei1,
.nei2,
.nei3,
.nei4,
.nei5,
.nei6 {
    margin-top: .14rem;
    padding: 0 .23rem;
    font-size: .14rem;
    background-color: #fff;
    border: 1px solid #dcdcdc;
}

.nei1 {
    >:first-child {
        font-size: .21rem;
        line-height: .28rem;
        font-weight: bold;
    }

    >:nth-child(2) {
        margin: .11rem 0;
        font-size: .16rem;
        line-height: .21rem;
        background: url(../img/SecondHandList/phone.png) right center no-repeat;
        background-size: .15rem .21rem;

        span {
            color: $color1;
            font-weight: bold;
        }
    }

    >:nth-child(3) {
        color: #b0b0b0;
    }

    >:last-child {
        margin: .17rem 0;

        span {
            display: inline-block;
            padding: .06rem;
            background-color: #dee9f0;
            color: #849aae;
        }
    }
}

.nei2 {
    display: flex;
    flex-direction: column;

    li {
        line-height: .6rem;
        display: flex;
        border-bottom: 1px solid #dcdcdc;

        div {
            flex: 1;
        }
    }

    >:last-child {
        div {
            text-align: center;
            color: #999999;
        }
    }
}

.nei3,
.nei4 {
    h2 {
        font-size: .2rem;
        line-height: .63rem;
        color: $color1;
        font-weight: bold;
        border-bottom: 1px solid #dcdcdc;
    }

    >.pp1 {
        border-bottom: 1px solid #dcdcdc;
        line-height: .28rem;
    }

    >.pp2 {
        line-height: .6rem;
        text-align: center;
        color: #999999;
    }
}

.nei4 {
    ul {
        display: flex;
        flex-direction: column;

        li {
            padding: .23rem 0;
            display: flex;
            border-bottom: 1px solid $color1;

            img {
                flex: 2;
                width: .83rem;
                height: .83rem;
                margin-right: .11rem;
            }

            div {
                flex: 8;
                font-size: .14rem;

                h2 {
                    line-height: .21rem;
                    color: black;
                    font-size: .16rem;
                    border: none;
                }

                p {
                    line-height: .38rem;

                    span {
                        display: inline-block;
                        padding: .05rem;
                        color: #849aae;
                        background-color: #f4f7f9;
                        line-height: .3rem;
                    }
                }
            }
        }

        >:last-child {
            border: none;
        }
    }
}

.nei5 {
    display: flex;
    flex-direction: column;
    line-height: .6rem;

    li {
        border-bottom: 1px solid #dcdcdc;

        span {
            color: #999;
        }
    }

    >:first-child {
        font-size: .21rem;
        font-weight: bold;
    }

    >:last-child {
        text-align: center;
        color: #a1a1a1;
        border: none;
    }
}

.nei6 {
    h2 {
        line-height: .65rem;
        font-size: .21rem;
        font-weight: bold;
        border-bottom: 1px solid #dcdcdc;
    }

    div {
        height: 1.81rem;
        width: 100%;
        margin: .15rem 0;
    }
}

.nei7 {
    border: 1px solid #dcdcdc;
    margin-top: .14rem;
    width: 100vw;
    box-sizing: border-box;
    padding: 0 .23rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;

    >h2 {
        font-size: .21rem;
        line-height: .6rem;
        font-weight: bold;
        border-bottom: 1px solid #dcdcdc;
    }

    >p {
        font-size: .14rem;
        color: #999;
        text-align: center;
        line-height: .6rem;
    }

    li {
        border-bottom: 1px solid #dcdcdc;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        padding: .24rem 0 .64rem 0;
        position: relative;

        .section-left {
            flex: 1;

            img {
                width: .95rem;
                height: .95rem;
            }

        }

        .nei7-bottom {
            position: absolute;
            top: 1.27rem;
            left: 0;

            div {
                width: 0;
                border-bottom: .1rem solid #f2f2f2;
                border-left: .1rem solid transparent;
                border-right: .1rem solid transparent;
                margin-left: .1rem;
            }

            p {
                background-color: #f2f2f2;
                width: 81vw;
                font-size: .14rem;
                padding: .11rem;
            }
        }

        .section-right {
            flex: 2;

            .pp1 {
                font-size: .21rem;
                font-weight: bold;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .pp2,
            .pp3,
            .pp4 {
                font-size: .14rem;
                margin-top: .1rem;

                span {
                    float: right;
                }
            }

            .pp2 {
                span {
                    color: $color1;
                }
            }

            .pp3 {
                color: #8b8b8b;
            }

            .pp4 {
                a {
                    color: #849aae;
                    background-color: #f4f7f9;
                    padding: .02rem .04rem;
                }
            }
        }
    }

    >:last-child {
        border-bottom: 1px solid #f5f5f5;
    }
}

.nei8-footer {
    padding: 0 .23rem;
    display: flex;
    height: .68rem;
    background-color: #fff;

    .div1 {
        flex: 6;

        p {
            width: 100%;
            line-height: .46rem;
            font-size: .16rem;
            text-align: center;
            color: white;
            margin-top: .11rem;
            border-radius: 5px;
            background-color: $color1;
            background-image: url(../img/SecondHandList/user.png);
            background-position: .2rem .08rem;
            background-repeat: no-repeat;
            background-size: .29rem .29rem;
        }
    }

    .div2 {
        img {
            width: .29rem;
            height: .29rem;
            transform: translateY(0.09rem);
        }

        flex: 3;
        line-height: .68rem;
        text-align: center;
        font-size: .16rem;
    }
}

footer {
    width: 100vw;
    height: 1.8rem;
    box-sizing: border-box;
    padding: 0 .17rem;
    background-color: $color2;

    h2 {
        color: #939494;
        font-weight: bold;
        line-height: .48rem;
        font-size: .16rem;
        border-bottom: 1px solid #3e403f;
    }

    ul {
        height: .38rem;
        font-size: .14rem;
        display: flex;
        margin: .2rem 0 .14rem 0;
        color: #939494;

        li {
            flex: 1;
            display: flex;


            .zuo {
                flex: 1;

                img {
                    width: .21rem;
                    height: .24rem;
                    margin-left: .25rem;
                }
            }

            .you {
                flex: 2;
            }
        }
    }

    >p {
        font-size: .14rem;
        color: #939494;
        text-align: center;
        line-height: .29rem;
    }
}